home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 385 / prg_1 / prg_1ay.dmp < prev    next >
Text File  |  1985-11-19  |  2KB  |  41 lines

  1. PRG_1AY.DMP
  2.  
  3. Hex dump of programs PRG_1AA.PRG, PRG_1AP.PRG and PRG_1AR.PRG.
  4.  
  5.      The first word of each of the three files is a branch instruction.
  6. The branch is to the location that is the sum of the 8-bit displacement,
  7. 1A, plus 2: that is, to location 1C.  In each file that location is marked
  8. as "start of text segment".
  9.  
  10.      The word immediately preceding the "start of text segment" marks the
  11. program as relocatable if the word is $0000.  In files that are assembled in
  12. AssemPro's Absolute and PC-relative modes, this word will be $FFFF.
  13.  
  14.      The longword beginning at location $02 is the size of the text segment;
  15. for each of the three programs the size of the text segment is 6 bytes.  The
  16. longword beginning at location $06 is the size of the data segment, which is
  17. zero for the three programs.  The longword beginning at location $0A is the
  18. size of the BSS segment, which is zero for the three programs.
  19.  
  20.      Note that the size of the relocatable program, PRG_1AR.PRG, is 42 bytes,
  21. eight bytes longer than the size of the other two programs.
  22.  
  23. Dump of File: PRG_1AA.PRG
  24.  
  25. 00000 00000F   601A 0000 0006 0000 0000 0000 0000 0000
  26. 00010 00001F   0000 0000 0000 0000 0000 FFFF 3F3C 0000
  27. 00020 000021   4E41                          ^start of text         
  28.                                               segment
  29. Dump of File: PRG_1AP.PRG
  30.  
  31. 00000 00000F   601A 0000 0006 0000 0000 0000 0000 0000
  32. 00010 00001F   0000 0000 0000 0000 0000 FFFF 3F3C 0000
  33. 00020 000021   4E41                          ^start of text         
  34.                                               segment
  35. Dump of File: PRG_1AR.PRG
  36.  
  37. 00000 00000F   601A 0000 0006 0000 0000 0000 0000 0000
  38. 00010 00001F   0000 0000 0000 0000 0000 0000 3F3C 0000
  39. 00020 000029   4E41 0000 0000 0000 0000      ^start of text         
  40.                                               segment
  41.